package com.cryptoneedle.garden.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * <p>description:  </p>
 *
 * @author CryptoNeedle
 * @date 2025-02-28
 */
@Data
@Accessors(chain = true)
public class DolphinTaskRelation {
    @Schema(name = "ID")
    private Long id;
    @Schema(name = "名称")
    private String name;
    @Schema(name = "版本")
    private Integer processDefinitionVersion;
    @Schema(name = "项目编码")
    private Long projectCode;
    @Schema(name = "工作流编码")
    private Long processDefinitionCode;
    @Schema(name = "前置任务编码")
    private Long preTaskCode;
    @Schema(name = "前置任务版本")
    private Integer preTaskVersion;
    @Schema(name = "后置任务编码")
    private Long postTaskCode;
    @Schema(name = "后置任务版本")
    private Integer postTaskVersion;
    @Schema(name = "是否有条件分支", description = "默认为NONE")
    private String conditionType;
    @Schema(name = "分支条件", description = "数据类型未知,常用值:{ }")
    private List<String> conditionParams;
    @Schema(name = "创建时间")
    private Date createTime;
    @Schema(name = "更新时间")
    private Date updateTime;
    @Schema(name = "操作时间")
    private Date operateTime;
    @Schema(name = "【作用未知】")
    private Integer operator;
}